//
//  NewsListUISegmentedView.h
//  ShowYork
//
//  Created by hxh on 2021/1/18.
//  Copyright © 2021 hxh. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NewsTagItemModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface NewsListSegmentedView : UIView

- (instancetype)initWithCompleteBlock:(void(^)(NSInteger index))completeBlock;

- (instancetype)initWithTitleArray:(NSArray<NewsTagItemModel *>*)itemArray completeBlock:(void(^)(NSInteger index))completeBlock;

@property (nonatomic,assign)NSInteger currentIndex;

@property (nonatomic,copy)NSArray <NewsTagItemModel *>*itemArray;

@property (nonatomic,strong)UIScrollView *contentScrollView;


@end

NS_ASSUME_NONNULL_END
